<?php
$client = new Swoole\Client(SWOOLE_SOCK_TCP);
if (!$client->connect('121.4.59.57',9501,10)){
    echo "connect failed Error:{$client->errCode}.\n";
}
$client->send('hello world\n');

echo $client->recv();
$client->close();


